﻿/*
 * Last review by   : Yaser
 * Last review date : JUL-27-09
 */
using System;
using System.Collections.Generic;
using ERP.Business.DataTypes.Employee.Attendance.Vacations;

namespace ERP.Business.DataTypes.Employee.Attendance
{
    /// <summary>
    /// Attendance Information
    /// </summary>
    [System.Runtime.Serialization.DataContract]
    [Serializable]
    [System.Runtime.Serialization.KnownType(typeof(AttendanceInformation))]
    public sealed class AttendanceInformation : BaseTypes.IntervalBased
    {
        #region Properties

        /// <summary>
        /// Gets or sets the vacations.
        /// </summary>
        /// <value>The vacations.</value>
        [System.Runtime.Serialization.DataMember]
        public List<Vacation> Vacations
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the leaves.
        /// </summary>
        /// <value>The leaves.</value>
        [System.Runtime.Serialization.DataMember]
        public List<Leave> Leaves
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the time cards.
        /// </summary>
        /// <value>The time cards.</value>
        [System.Runtime.Serialization.DataMember]
        public List<TimeCardEntry> TimeCards
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the working hours.
        /// </summary>
        /// <value>The working hours.</value>
        [System.Runtime.Serialization.DataMember]
        public List<DailyWorkingHoursEntry> WorkingHours
        {
            get;
            set;
        }

        #endregion
    }
}